package com.pubinfo.passbook.engine.cell.hook.medicine;

import com.pubinfo.passbook.common.model.dto.witeoff.MedicineOnJobOrRetireDTO;
import com.pubinfo.passbook.engine.cell.hook.ComputeHookUnit;
import com.pubinfo.passbook.engine.constants.ComputeChainType;
import com.pubinfo.passbook.engine.constants.ComputeResultType;

import java.math.BigDecimal;

/**
 * 医药费计算钩子
 *
 * @author zhouch
 * @date 2022/1/10 10:04
 */
public abstract class MedicineHookUnit extends ComputeHookUnit<MedicineOnJobOrRetireDTO, BigDecimal> {
    @Override
    public String getChainType() {
        return ComputeChainType.MEDICINE;
    }

    @Override
    public String getResultType() {
        return ComputeResultType.NUMBER;
    }
}
